package cate.common.table.invite.sheet;

import cate.common.game.invite.InviteDef;
import cate.common.table.ESheet;
import cate.common.table.invite.row.InviteLoginRow;

public class InviteLoginSheet extends ESheet<InviteLoginRow> {

    @Override
    public String getSheetName() {
        return "邀请登录";
    }

    @Override
    public void decode() {
        super.decode();
        int idMax = 0;
        for(InviteLoginRow row : list) {
            if(row.id > idMax) {
                idMax = row.id;
            }
        }
        InviteDef.loginTaskNumMax = idMax;
    }
}